package y23.May;

public class Multiplication {
    public static void main(String[] args) {
        for(int i = 1;i < 10;i++){
            for(int j = i;j < 10;j++){
                System.out.printf("%d*%d=%-5d",i,j,i*j);
            }
            System.out.println();
        }
        int i = 1;
        for(i = 1;i < 10;i++){
            for(int j = 1;j <= i;j++){
                System.out.printf("%d*%d=%-5d",i,j,i*j);
            }
            System.out.println();
        }
    }
}
